<?php

class System_Model_Theme extends Asd_Model{
    
    public function __construct($id = null) {
        parent::__construct(new System_Model_DbTable_Theme(), $id);
    }
    
    public function getThemes($id = null) {
        $where = null;
        if(isset($id)){
            $where = 'theme_id = ' . $id; 
        }
        return $this->_dbTable->fetchAll($where);
    }

}

